package com.wolfpire.workflow.common;


public class Constants {
	
	public final static String EMPTY_IMAGE_PATH = "resources/images/empty.jpg";
	
	/** 开发组织  */
	public final static String DEVELOP_ORG = "200106,200107,200108,200110,200111, 1026050,200114";
	public final static String O2O_DEVELOP_ORG = "200115";
	//(200100,200105,200700,930050,200113
	//200104	测试团队	
//	200106	政务综合1	
//	200107	政务综合2	
//	200108	政务终端	
//	200109	城市综合	
//	200110	技术研发1	
//	200111	技术研发2	
//	1026050  政务综合3


	/** 测试组织 */
	public final static String TEST_ORG = "200104";
	//据库库状态正常
	public final static String NORMAL = "1";
	//数阿米巴长角色ID
	public final static String BZ_TASK = "启动开发子流程";
	/** 何种数据库 */
	public final static String DB_VERSION = "ORACLE";// MYSQL;SQLSERVER
	/** zzgrid iframe 跨域 关窗 链接 */
	//public final static String ZZGRID_TEMP_URL = "http://gd.fjsq.org:8080/zzgrid_p/zzgl/taskmngNew/taskmngNew/temp.jhtml";
	public final static String ZZGRID_TEMP_URL = Globals.getStringGlobalProperty("zzgrid.temp_url");
	
	/** 任务管理 表单类型ID */
	public final static String TASKMNG_FORM_TYPEID = Globals.getStringGlobalProperty("taskmng.formTypeId");
	/** 任务管理 会签节点名称 */
	public final static String TASKMNG_SIGNTASKNAME = Globals.getStringGlobalProperty("taskmng.signTaskName");
	/** 数据库模式定义 */
	public final static String PLATFORM = Globals.getStringGlobalProperty("jdbc.username");

	public final static String WORKFLOW = Globals.getStringGlobalProperty("jdbc.username");
	
	public final static String DATA_BASE_TABLESPACE = Globals.getStringGlobalProperty("zzgrid.username");
	
	public final static String DEMAND_WORKFLOW = Globals.getStringGlobalProperty("demand.workflow");
	
	public final static String DEMAND_FORMTYPEID = Globals.getStringGlobalProperty("demand.formtypeid");
	
	public final static String DEMAND_RELEVANCE = "E.DEMAND_ID";
	
	public final static String DEMAND_COMBINATION1 = Globals.getStringGlobalProperty("demand.combination1");
	
	public final static String DEMAND_COMBINATION2 = Globals.getStringGlobalProperty("demand.combination2");
	
	public final static String DEMAND_START1 = Globals.getStringGlobalProperty("demand.start1");
	
	public final static String DEMAND_START2 = Globals.getStringGlobalProperty("demand.start2");
	
	public final static String DEMAND_START3 = Globals.getStringGlobalProperty("demand.start3");
	
	public final static String BUGS_WORKFLOW = Globals.getStringGlobalProperty("bugs.workflow");
	
	public final static String BUGS_FORMTYPEID = Globals.getStringGlobalProperty("bugs.formtypeid");
	
	public final static String BUGS_RELEVANCE = "E.BUG_ID";
	
	public final static String BUG_NODE_NEXT1 = Globals.getStringGlobalProperty("bug.node.next1");
	public final static String BUG_NODE_NEXT2 = Globals.getStringGlobalProperty("bug.node.next2");
	public final static String BUG_NODE_NEXT3 = Globals.getStringGlobalProperty("bug.node.next3");
	public final static String BUG_NODE_NEXT4 = Globals.getStringGlobalProperty("bug.node.next4");
	public final static String BUG_NODE_NEXT5 = Globals.getStringGlobalProperty("bug.node.next5");
	public final static String BUG_NODE_NEXT6 = Globals.getStringGlobalProperty("bug.node.next6");
	//测试人员评分
	public final static String BUG_PERSONID = "3761,173050,3753,173052,3760,1829400";
	
	public final static String SUB_INSTANCE1 = Globals.getStringGlobalProperty("sub.instance1");
	
	public final static String SUB_INSTANCE2 = Globals.getStringGlobalProperty("sub.instance2");
	
	public final static String SUB_INSTANCE3 = Globals.getStringGlobalProperty("sub.instance3");
	
	public final static String SUB_INSTANCE4 = Globals.getStringGlobalProperty("sub.instance4");
	
	public final static String SUB_INSTANCE5 = Globals.getStringGlobalProperty("sub.instance5");
	
	public final static String SUB_INSTANCE6 = Globals.getStringGlobalProperty("sub.instance6");
	
	public final static String DEMAND_SIGN = Globals.getStringGlobalProperty("demand.sign");
	
	public final static String DEMAND_SIGN1 = Globals.getStringGlobalProperty("demand.sign1");
	
	public final static String DEMAND_SIGN_NEXT = Globals.getStringGlobalProperty("demand.sign.next");
	
	public final static String PROJECT_FORMTYPEID = Globals.getStringGlobalProperty("project.formtypeid");
	
	public final static String PROJECT_RELEVANCE = "E.ID";
	
	public final static String DEMAND_NOTIFY_USERID = Globals.getStringGlobalProperty("demand.notify.userId");
	

	public final static String BUGS_START = Globals.getStringGlobalProperty("bugs.start");
	
	public final static String BUGS_NODE_DATE = Globals.getStringGlobalProperty("bugs.node.date");
	public final static String BUGS_NODE_DATE1 = Globals.getStringGlobalProperty("bugs.node.date1");
	public final static String BUGS_RETURN = Globals.getStringGlobalProperty("bugs.return");
	public final static String BUGS_RETURN_TO = Globals.getStringGlobalProperty("bugs.return.to");
	public final static String BUGS_NODE_BZQR = Globals.getStringGlobalProperty("bugs.node.bzqr");
	
	
	public final static String TASKFORM_START = Globals.getStringGlobalProperty("taskForm.start");
	public final static String TASKFORM_START_1 = Globals.getStringGlobalProperty("taskForm.start1");
	
	//成本
	public final static String COST_WORKFLOW = Globals.getStringGlobalProperty("cost.workflow");
	public final static String COST_FORMTYPEID = Globals.getStringGlobalProperty("cost.formtypeid");
	public final static String COST_RELEVANCE = "E.COST_ID";
	public final static String COST_START = Globals.getStringGlobalProperty("cost.start");
	public final static String COST_SUB1 = Globals.getStringGlobalProperty("cost.sub1");
	public final static String COST_COMMIT = Globals.getStringGlobalProperty("cost.commit");
	public final static String COST_COMMIT1 = Globals.getStringGlobalProperty("cost.commit1");
	public final static String COST_COMMIT_VIEW = Globals.getStringGlobalProperty("cost.commit.view");
	public final static String COST_DATE = Globals.getStringGlobalProperty("cost.date");
	
	
	public final static String ACCEPT_WORKFLOW = Globals.getStringGlobalProperty("accept.workflow");
	public final static String ACCEPT_FORMTYPEID = Globals.getStringGlobalProperty("accept.formtypeid");
	public final static String ACCEPT_NODE_NEXT1 = Globals.getStringGlobalProperty("accept.node.next1");
	public final static String ACCEPT_NODE_NEXT2 = Globals.getStringGlobalProperty("accept.node.next2");
	public final static String ACCEPT_NODE_NEXT3 = Globals.getStringGlobalProperty("accept.node.next3");
	public final static String ACCEPT_NODE_NEXT4 = Globals.getStringGlobalProperty("accept.node.next4");
	public final static String ACCEPT_NODE_WRITEBUG = Globals.getStringGlobalProperty("accept.node.writeBug");
	
	//成本确认
	public final static String COSTCONFIRM_WORKFLOW = Globals.getStringGlobalProperty("costConfirm.workflow");
	public final static String COSTCONFIRM_FORMTYPEID = Globals.getStringGlobalProperty("costConfirm.formtypeid");
	public final static String COSTCONFIRM_RELEVANCE = "E.COSTCONFIRM_ID";
	public final static String COSTCONFIRM_START = Globals.getStringGlobalProperty("costConfirm.start");
	public final static String COSTCONFIRM_START1 = Globals.getStringGlobalProperty("costConfirm.start1");
	//KNOWLEDGE
	public final static String KNOWLEDGE_WORKFLOW = Globals.getStringGlobalProperty("knowledge.workflow");
	public final static String KNOWLEDGE_FORMTYPEID = Globals.getStringGlobalProperty("knowledge.formtypeid");
	public final static String KNOWLEDGE_RELEVANCE = "E.NOTICE_ID";
	public final static String KNOWLEDGE_TYPE = Globals.getStringGlobalProperty("knowledge.type");
	public final static String KNOWLEDGE_START = Globals.getStringGlobalProperty("knowledge.start");
	
	// 工单其他节点
	public final static String DEMAND_NODE_REGIONALSUMMARY = Globals.getStringGlobalProperty("demand.node.regionalsummary");
	public final static String DEMAND_NODE_AUDITSUMMARY = Globals.getStringGlobalProperty("demand.node.auditSummary");
	public final static String DEMAND_NODE_DEMANDREVIEW = Globals.getStringGlobalProperty("demand.node.demandReview");
	
	public final static String DEMAND_NODE_PLANNINGREVIEW = Globals.getStringGlobalProperty("demand.node.planningReview");
	public final static String DEMAND_NODE_CUSTOMERCONFIRM4PLAN = Globals.getStringGlobalProperty("demand.node.customerConfirm4Plan");
	
	public final static String DEMAND_NODE_FIRSTDESIGN = Globals.getStringGlobalProperty("demand.node.firstDesign");
	public final static String DEMAND_NODE_CUSTOMERCONFIRM4DESIGN = Globals.getStringGlobalProperty("demand.node.customerConfirm4Design");
	public final static String DEMAND_NODE_FINALDESIGN = Globals.getStringGlobalProperty("demand.node.finalDesign");
	
	public final static String DEMAND_NODE_STARTDEVSUBPROCESS = Globals.getStringGlobalProperty("demand.node.startDevSubprocess");
	public final static String DEMAND_NODE_DEVAUDIT = Globals.getStringGlobalProperty("demand.node.devAudit");
	public final static String DEMAND_NODE_TESTEXM = Globals.getStringGlobalProperty("demand.node.testExm");
	public final static String DEMAND_NODE_TESTCASEREVIEW = Globals.getStringGlobalProperty("demand.node.testCaseReview");

	public final static String DEMAND_NODE_DEVCONFIRM = Globals.getStringGlobalProperty("demand.node.devConfirm");
	public final static String DEMAND_NODE_TESTSUBPROCESS = Globals.getStringGlobalProperty("demand.node.testSubprocess");
	public final static String DEMAND_NODE_CONTROLLEDLIBRARYCONFIGURATION = Globals.getStringGlobalProperty("demand.node.controlledLibraryConfiguration");
	public final static String DEMAND_NODE_RECURRENCEDEVSUBPROCESS = Globals.getStringGlobalProperty("demand.node.recurrenceDevSubprocess");
	
	public final static String DEMAND_NODE_SIMULATIONTEST = Globals.getStringGlobalProperty("demand.node.simulationTest");
	public final static String DEMAND_NODE_SIMULATIONTEST_1 = Globals.getStringGlobalProperty("demand.node.simulationTest1");
	public final static String DEMAND_NODE_SIMULATIONTEST_2 = Globals.getStringGlobalProperty("demand.node.simulationTest2");
	
	public final static String DEMAND_NODE_NETPUBLISH = Globals.getStringGlobalProperty("demand.node.netpublish");
	public final static String DEMAND_NODE_NETPUBLISH_1 = Globals.getStringGlobalProperty("demand.node.netpublish1");
	
	public final static String DEMAND_NODE_PUBLISHCONFIRM = Globals.getStringGlobalProperty("demand.node.publishConfirm");
	public final static String DEMAND_NODE_DEMANDCONFIRM = Globals.getStringGlobalProperty("demand.node.demandConfirm");
	
	public final static String BUG_NODE_SIMULATIONTEST = Globals.getStringGlobalProperty("bug.node.simulationTest");
	
	public final static String VERSON_HTTP_URL = Globals.getStringGlobalProperty("verson.http.url");
	
	/*任务开发单*/
	public final static String TASKFORM_TABLENAME = ".TK_TASK_FORM";
	public final static String TASKFORM_RELEVANCE = "E.TASK_ID";
	public final static String TASKFORM_FORMTYPEID = "171050";
	public final static String TASKFORM_WORKFLOWID = "187101";
	public final static String GENERATE_KEY = "identity";	
	
	/*阶段时间子流程*/
	public final static String PHASETIME_NODE_PLANANDDESIGN = Globals.getStringGlobalProperty("taskform.phasetime.node.plananddesign");
	public final static String PHASETIME_NODE_DEV = Globals.getStringGlobalProperty("taskform.phasetime.node.dev");
	public final static String PHASETIME_NODE_TEST = Globals.getStringGlobalProperty("taskform.phasetime.node.test");
	
	/*故障单*/
	public final static String FAILUREGZ_WORKFLOW = Globals.getStringGlobalProperty("failureGZ.workflow");
	public final static String FAILUREGZ_FORMTYPEID = Globals.getStringGlobalProperty("failureGZ.formtypeid");
	public final static String FAILUREGZ_RELEVANCE = "E.FAILURE_ID";
	public final static String FAILUREGZ_START = Globals.getStringGlobalProperty("failureGZ.start");
	public final static String FAILUREGZ_TODO = Globals.getStringGlobalProperty("failureGZ.todo");
	public final static String FAILUREGZ_END = Globals.getStringGlobalProperty("failureGZ.end");
	public final static String FAILUREGZ_NODE = Globals.getStringGlobalProperty("failureGZ.node");
	public final static String FAILUREGZ_DATE = Globals.getStringGlobalProperty("failureGZ.date");
	
	public final static String DELAYPROJECT_WORKFLOW = Globals.getStringGlobalProperty("delayProject.workflow");
	public final static String DELAYPROJECT_FORMTYPEID = Globals.getStringGlobalProperty("delayProject.formtypeid");
	public final static String DELAYPROJECT_RELEVANCE = "E.DELAY_ID";
	public final static String DELAYPROJECT_START = Globals.getStringGlobalProperty("delayProject.start");
	public final static String DELAYPROJECT_NODE1 = Globals.getStringGlobalProperty("delayProject.node1");
	public final static String DELAYPROJECT_NODE2 = Globals.getStringGlobalProperty("delayProject.node2");
	public final static String DELAYPROJECT_NODE3 = Globals.getStringGlobalProperty("delayProject.node3");
	public final static String DELAYPROJECT_DATE = Globals.getStringGlobalProperty("delayProject.date");
	
	public final static String WFAddTask_WORKFLOW = Globals.getStringGlobalProperty("wfAddTask.workflow");
	public final static String WFAddTask_FORMTYPEID = Globals.getStringGlobalProperty("wfAddTask.formtypeid");
	public final static String WFAddTask_RELEVANCE = "E.TASK_ID";
	public final static String WFAddTask_START = Globals.getStringGlobalProperty("wfAddTask.start");
	public final static String WFAddTask_NODE = Globals.getStringGlobalProperty("wfAddTask.node");
	public final static String WFAddTask_NODE1 = Globals.getStringGlobalProperty("wfAddTask.node1");
	
	/** 上传附件根路径 */
	public final static String UPLOAD_ROOT_PATH = Globals.getStringGlobalProperty("upload.root.path");
	public final static String IMAGE_SHOW_PATH = Globals.getStringGlobalProperty("image.show.path");

	public final static Integer WARN_DAY = 3;//预警天数
	public final static Integer ALERT_DAY = 1;//告警天数
	
	//JBPM4_TASK   TIMEOUT_字段
	public final static String WARN = "1";	//预警
	public final static String ALERT = "2";	//告警
	public final static String TIMEOUT = "3";	//超时
	//WF_PROCESS_INSTANCE
	public final static String END = "5";
	
	//WF_TASK
	/** 正常 */
	public final static String WFTASK_NORMAL = "0";	//正常
	public final static String WFTASK_TIMEOUT = "1";	//超时
	
	// 关注状态
	public final static String ADDATTENTION = "1";
	public final static String CANCLEATTENTION = "0";
	// 关注类型
	public final static String ATTENTIONTYPE_WORKFLOW = "0";// 流程定义
	public final static String ATTENTIONTYPE_PROCESSINSTANCE = "1";// 流程实例
	public final static String ATTENTIONTYPE_FORM = "2";// 表单实例
	public final static String ATTENTIONTYPE_NODE = "3";// 节点实例
	
	//节假日时间 可以只是具体年2014，可是具体的年月2014-05，可是是具体的日期2014-05-01，为空是默认所有的节假日或补班日年月日之间必须用“-”
	public final static String HOLIDAYTIME = "2014";	
		
	//WF_HOLIDAY STATUS字段
	public final static String HOLIDAYTIMESTATUS = "0";//节日
	public final static String WORKTIMESTATUS = "1";//补班
	// 事件表单类型
	public final static int EVENT_FORM_TYPEID = 300;
	
	// SQL批处理数目
	public final static int SQL_BATCH_NUM = 50;
	
	public final static String PROJECT_PERSON_NUM = Globals.getStringGlobalProperty("project_person_num");
	public final static String PROJECT_OTHERPERSON_NUM = Globals.getStringGlobalProperty("project_otherperson_num");
	
	public final static String PERSON_MONEY = Globals.getStringGlobalProperty("person_money");
	public final static String REGION_MONEY = Globals.getStringGlobalProperty("region_money");
	public final static String OUTSOURCE_MONEY = Globals.getStringGlobalProperty("outSource_money");
	
	//针对事件类型的职位配置
	public final static String EVENT_WORFLOW_POSITIONNAME = Globals.getStringGlobalProperty("event.WorkFlow.PositionName");
	public final static String EVENT_WORFLOW_POSITIONNAME_1 = Globals.getStringGlobalProperty("event.WorkFlow.PositionName1");
	public final static String EVENT_WORFLOW_POSITIONNAME_2 = Globals.getStringGlobalProperty("event.WorkFlow.PositionName2");
	public final static String EVENT_WORFLOW_POSITIONNAME_3 = Globals.getStringGlobalProperty("event.WorkFlow.PositionName3");
	public final static String EVENT_WORFLOW_POSITIONNAME_4 = Globals.getStringGlobalProperty("event.WorkFlow.PositionName4");
	public final static String EVENT_WORFLOW_POSITIONNAME_5 = Globals.getStringGlobalProperty("event.WorkFlow.PositionName5");
	public final static String EVENT_WORFLOW_POSITIONNAME_6 = Globals.getStringGlobalProperty("event.WorkFlow.PositionName6");
	
	// 针对监控事件待办列表中待办人领导职位配置
	public final static String EVENT_WORKFLOW_AGENCYLEADER = Globals.getStringGlobalProperty("event.WorkFlow.AgencyLeader");
	
	// 任务开发单拆封三单的formtypeids
	public final static String TASKFORM_FORMTYPEIDS = Globals.getStringGlobalProperty("taskForm.formtypeids");
	// 规划
	public final static String TASKFORM_PLANNING_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.planning.formtypeid");
	// 开发
	public final static String TASKFORM_DEVELOPMENT_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.development.formtypeid");
	// 测试
	public final static String TASKFORM_TEST_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.test.formtypeid");
	// 基本设计
	public final static String TASKFORM_DESIGN_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.design.formtypeid");
	// 测试用例
	public final static String TASKFORM_TESTEXM_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.testExm.formtypeid");
	//回归开发
	public final static String TASKFORM_RECURRENCE_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.recurrence.formtypeid");
	// 阶段时间子流程
	public final static String TASKFORM_PHASETIME_FORMTYPEID = Globals.getStringGlobalProperty("taskForm.phaseTime.formtypeid"); 
	
	public final static String NODE_END = Globals.getStringGlobalProperty("node.end");
	
	
	// 邮箱默认发送者
//	public final static String MAIL_FROM = Globals.getStringGlobalProperty("mail.from");
	public final static String MAIL_FROM = Globals.getStringGlobalProperty("mail.username");
	
	// 需求阶段对应流程图节点名称--->需求，规划，设计，开发，测试
	public final static String DEMAND_PHASE_DRAFT = Globals.getStringGlobalProperty("demand.phase.draft");
	public final static String DEMAND_PHASE_DEMAND = Globals.getStringGlobalProperty("demand.phase.demand");
	public final static String DEMAND_PHASE_PLANNING = Globals.getStringGlobalProperty("demand.phase.planning");
	public final static String DEMAND_PHASE_DESIGN = Globals.getStringGlobalProperty("demand.phase.design");
	public final static String DEMAND_PHASE_DEVELOPMENT = Globals.getStringGlobalProperty("demand.phase.development");
	public final static String DEMAND_PHASE_TEST = Globals.getStringGlobalProperty("demand.phase.test");
	public final static String DEMAND_PHASE_END = Globals.getStringGlobalProperty("demand.phase.end");
	public final static String DEMAND_PHASE_INVALID = Globals.getStringGlobalProperty("demand.phase.invalid");
	
	// 测试子流程的测试节点
	public final static String TESTWF_TEST_NODENAME = Globals.getStringGlobalProperty("testwf.test.nodename");
	
	// 任务单配置实际工时节点
	public final static String PLANNING_HOURNODE = Globals.getStringGlobalProperty("taskform.hournode.planning");
	public final static String DESIGN_HOURNODE = Globals.getStringGlobalProperty("taskform.hournode.design");
	public final static String DEV_HOURNODE = Globals.getStringGlobalProperty("taskform.hournode.dev");
	public final static String TESTEXM_HOURNODE = Globals.getStringGlobalProperty("taskform.hournode.testexm");
	public final static String RECURRENCE_HOURNODE = Globals.getStringGlobalProperty("taskform.hournode.recurrence");
	public final static String TEST_HOURNODE = Globals.getStringGlobalProperty("taskform.hournode.test");
	
	public final static boolean WORKFLOW_ISDEV = Globals.getBooleanGlobalProperty("workflow.isDev");
	
	
	// bugs单节点
	// 受控库配置
	public final static String BUGS_NODE_CONTROLLERLIB = Globals.getStringGlobalProperty("bugs.node.controllerLib");
	// 仿真验证
	public final static String BUGS_NODE_SIMULATIONTEST = Globals.getStringGlobalProperty("bugs.node.simulationtest");
	// 现网发布
	public final static String BUGS_NODE_NETWORKPUBLISH = Globals.getStringGlobalProperty("bugs.node.networkpublish");
	// 回归测试
	public final static String BUGS_NODE_RTEST = Globals.getStringGlobalProperty("bugs.node.rtest");
	
	
	//bugs单阶段名称(草稿，测试，开发，回归测试，发布，完结归档,作废)
	public final static String BUGS_PHASE_DRAFT = Globals.getStringGlobalProperty("bugs.phase.draft");
	public final static String BUGS_PHASE_TEST = Globals.getStringGlobalProperty("bugs.phase.test");
	public final static String BUGS_PHASE_DEV = Globals.getStringGlobalProperty("bugs.phase.dev");
	public final static String BUGS_PHASE_DEPLOY = Globals.getStringGlobalProperty("bugs.phase.deploy");
	public final static String BUGS_PHASE_RETEST = Globals.getStringGlobalProperty("bugs.phase.retest");
	public final static String BUGS_PHASE_END = Globals.getStringGlobalProperty("bugs.phase.end");
	public final static String BUGS_PHASE_INVALID = Globals.getStringGlobalProperty("bugs.phase.invalid");
	
	/**大版本*/
	public final static String BVERSION_FORMTYPEID = Globals.getStringGlobalProperty("bversion.formtypeId");
	public final static String BVERSION_START = Globals.getStringGlobalProperty("bversion.start");
	public final static String BVERSION_WORKFLOW = Globals.getStringGlobalProperty("bversion.workflow");
	public final static String BVERSION_NODE_AUDIT = Globals.getStringGlobalProperty("bversion.node.audit"); 
	public final static String BVERSION_NODE_AUDIT1 = Globals.getStringGlobalProperty("bversion.node.audit1"); 
	
	public final static String BVERSION_NODE_PRODUCTAUDIT = Globals.getStringGlobalProperty("bversion.node.productAudit");
	public final static String BVERSION_NODE_END = Globals.getStringGlobalProperty("bversion.node.end");
	
	public final static String BVERSION_NODE1 = Globals.getStringGlobalProperty("bversion.node1");
	
	/** 评分 */
	public final static String SCORE_FORMTYPEID = Globals.getStringGlobalProperty("score.formtypeid");
	public final static String SCORE_WORKFLOWID = Globals.getStringGlobalProperty("score.workflowid");
	public final static String SCORE_START = Globals.getStringGlobalProperty("score.start");
	
	public final static String CONTRIBUTE_FORMTYPEID = Globals.getStringGlobalProperty("contribute.formtypeid");
	public final static String CONTRIBUTE_WORKFLOW = Globals.getStringGlobalProperty("contribute.workflow");
	public final static String CONTRIBUTE_START = Globals.getStringGlobalProperty("contribute.start");
	public final static String CONTRIBUTE_RELEVANCE = "E.CONTRIBUTE_ID";
	
	
	/** 公司领导 角色id*/
	public final static int BOSS_ROLE_ID = 200400;
	
	public enum TB_STATUS{
		delete("0", "删除"), 
		normal("1", "正常"), 
		submit("2", "提交");
		private String index;  
		private String name;  
		
		 // 构造方法   
	    private TB_STATUS(String index,String name) {   
	        this.name = name;   
	        this.index = index;   
	    }  
	    // get set 方法   
	    public String getName() {   
	        return name;   
	    }   
	    public String getIndex() {   
	        return index;   
	    }
	}
	/**
	 * 流程状态
	 * @author guoyd
	 *
	 */
	public enum PROINSTANCE_STATUS{
		normal("1", "正常"), 
		end("2", "归档"), 
		suspend("3", "挂起"),
		invalid("4", "作废");
		private String index;  
		private String name;  
		
		 // 构造方法   
	    private PROINSTANCE_STATUS(String index,String name) {   
	        this.name = name;   
	        this.index = index;   
	    }  
	    // get set 方法   
	    public String getName() {   
	        return name;   
	    }   
	    public String getIndex() {   
	        return index;   
	    }
	}
	
	public enum DEMANDPHASE_ISTIMEOUT{
		NORMAL("0", "正常"),
		WARN("1", "预警"),
		TIMEOUT("2", "超时");
		private String index;  
		private String name;  
		
		//构造方法   
	    private DEMANDPHASE_ISTIMEOUT(String index,String name) {   
	        this.name = name;   
	        this.index = index;   
	    }  
	    //get set 方法   
	    public String getName() {   
	        return name;   
	    }   
	    public String getIndex() {   
	        return index;   
	    }
	}
	
	/**
	 * 委托状态
	 * @author liushx
	 *
	 */
	public enum CONSIGN_STATUS{
		EFFECTIVE("0", "有效"),
		FOREVER_EFFECTIVE("1", "永久有效"), 
		FAIL("2", "失效");
		private String index;  
		private String name;  
		
		//构造方法   
	    private CONSIGN_STATUS(String index,String name) {   
	        this.name = name;   
	        this.index = index;   
	    }  
	    //get set 方法   
	    public String getName() {   
	        return name;   
	    }   
	    public String getIndex() {   
	        return index;   
	    }
	}
	
	/**
	 * 委托接受状态
	 * @author liushx
	 *
	 */
	public enum RECEIVE_STATUS{
		NOT_RECEIVED("0", "未接收"), 
		RECEIVED("1", "已接收");
		private String index;  
		private String name;  
		
		 // 构造方法   
	    private RECEIVE_STATUS(String index,String name) {   
	        this.name = name;   
	        this.index = index;   
	    }  
	    // get set 方法   
	    public String getName() {   
	        return name;   
	    }   
	    public String getIndex() {   
	        return index;   
	    }
	    
	}
	
	// 知会状态
		public enum NOTIFYPERSON_STATU {
			UNDO("0", "知会未阅办"),
			DONE("1", "知会并阅办");
			
			private String index;
			private String name;
			private NOTIFYPERSON_STATU(String index, String name) {
				this.index = index;
				this.name = name;
			}
			public String getIndex() {
				return index;
			}
			public void setIndex(String index) {
				this.index = index;
			}
			public String getName() {
				return name;
			}
			public void setName(String name) {
				this.name = name;
			}
		}
		
		public enum NOTIFY_DEMANDFLAG {
			NORMAL("1", "返回知会人"),
			ADVICE("2", "收集意见"),
			VIEW("3","查看客户期望时间");
			
			private String index;
			private String name;
			private NOTIFY_DEMANDFLAG(String index, String name) {
				this.index = index;
				this.name = name;
			}
			public String getIndex() {
				return index;
			}
			public void setIndex(String index) {
				this.index = index;
			}
			public String getName() {
				return name;
			}
			public void setName(String name) {
				this.name = name;
			}
		}
	
	/**
	 * 关注状态
	 */
	public enum ATTENTION_STATUS {
		ISATTENTION("1", "已关注"),
		NOATTENTION("0", "未关注");
		
		private String index;
		private String name;
		
		private ATTENTION_STATUS(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}

		
	public enum DEMAND_STATUS {
		DEL("0", "删除"),
		NORMAL("1", "正常"),
		COMBINATED("2", "被合并"),
		COMBINATION("3", "已合并");
		
		private String index;
		private String name;
		
		private DEMAND_STATUS(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	public enum EXDEMAND_STATUS {
		CREAT("1", "创建"),
		NORMAL("2", "流转"),
		END("3", "结束");
		
		private String index;
		private String name;
		
		private EXDEMAND_STATUS(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	public enum TASKTYPE_FORMTYPEID{
		PLANNING("199850",TASKFORM_PLANNING_FORMTYPEID,"规划"),
		DEVELOPMENT("186923",TASKFORM_DEVELOPMENT_FORMTYPEID,"开发"),
		TEST("200092",TASKFORM_TEST_FORMTYPEID,"测试"),
		DESIGN("186922",TASKFORM_DESIGN_FORMTYPEID,"基本设计"),
		TESTEXM("201400",TASKFORM_TESTEXM_FORMTYPEID,"测试用例"),
		RECURRENCE("201400",TASKFORM_RECURRENCE_FORMTYPEID,"回归开发"),
		PHASETIME("224550",TASKFORM_PHASETIME_FORMTYPEID,"阶段时间");
		
		private String type;
		private String formType;
		private String name;
		
		private TASKTYPE_FORMTYPEID(String type, String formType, String name) {
			this.type = type;
			this.formType = formType;
			this.name = name;
		}

		public String getType() {
			return type;
		}
		public String getFormType() {
			return formType;
		}
		public String getName() {
			return name;
		}
	}
	
	/**
	 * 需求5个节点的枚举
	 * @author lihd
	 *
	 */
	public enum DEMAND_PHASE{
		DRAFT("0", DEMAND_PHASE_DRAFT),
		DEMAND("1", DEMAND_PHASE_DEMAND),
		PLANNING("2", DEMAND_PHASE_PLANNING),
		DESIGN("3", DEMAND_PHASE_DESIGN),
		DEVELOPMENT("4", DEMAND_PHASE_DEVELOPMENT),
		TEST("5", DEMAND_PHASE_TEST),
		END("6", DEMAND_PHASE_END),
		INVALID("7", DEMAND_PHASE_INVALID),
		PUBLISH("8", DEMAND_NODE_SIMULATIONTEST);
		
		private String index;
		private String name;
		
		private DEMAND_PHASE (String index, String name) {
			this.index = index;
			this.name = name;
		}
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	public enum HOURNODE{
		PLANNING("1", PLANNING_HOURNODE),
		DESIGN("2", DESIGN_HOURNODE),
		DEV("3", DEV_HOURNODE),
		TESTEXM("4", TESTEXM_HOURNODE),
		RECURRENCE("5", RECURRENCE_HOURNODE),
		TEST("6", TEST_HOURNODE);
		
		private String index;
		private String name;
		
		private HOURNODE (String index, String name) {
			this.index = index;
			this.name = name;
		}
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	public enum DEMAND_REJECT_BUG_TYPE {
		BUG("1", "BUG"),
		NORMAL("2", "规范退单");
		
		private String index;
		private String name;
		
		private DEMAND_REJECT_BUG_TYPE(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	public enum PUBLISH_STATUS {
		UNPUT("3","未投放"),
		PUTIN("4","投放中"),
		ING("1","发布中"),
		SUCCESS("2","发布成功"),
		FAILED("0","发布失败");
		
		private String index;
		private String name;
		
		private PUBLISH_STATUS(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return this.index;
		}
		public String getName() {
			return this.name;
		}
	}
	
	public enum VERSION_REL_TYPE {
		DEMAND("1","需求单"),
		BUG("2","BUG单"),
		VERSION("3","版本单");
		
		private String index;
		private String name;
		
		private VERSION_REL_TYPE(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return this.index;
		}
		public String getName() {
			return this.name;
		}
	}
	
	/**
	 * bugs单阶段枚举
	 * @author lihd
	 *
	 */
	public enum BUGS_PHASE{
		DRAFT("0", BUGS_PHASE_DRAFT),
		TEST("1", BUGS_PHASE_TEST),
		DEV("2", BUGS_PHASE_DEV),
		RETEST("3",BUGS_PHASE_RETEST),
		DEPLOY("4", BUGS_PHASE_DEPLOY),
		END("5", BUGS_PHASE_END),
		INVALID("6",BUGS_PHASE_INVALID);
		
		private String index;
		private String name;
		
		private BUGS_PHASE (String index, String name) {
			this.index = index;
			this.name = name;
		}
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	
	public enum SCORE_STATUS {
		UNDO("0", "未派发"),
		DONE("1", "已派发未评分"),
		SCORED("2", "已评分");
		
		private String index;
		private String name;
		
		private SCORE_STATUS(String index, String name) {
			this.index = index;
			this.name = name;
		}
		
		public String getIndex() {
			return index;
		}
		public String getName() {
			return name;
		}
	}
	
	/**
	 * 积分对象
	 * @author lihd
	 *
	 */
	public enum INTEGRAL_TYPE {
		DEVELOPMENT(1717302, "研发部"),
		DEVELOPER(1549302, "开发人员"),
		DEVELOPMANAGER(1717300, "开发阿米巴长"),
		TESTER(1717301, "测试人员"),
		PRODUCTOR(1568850, "产品部"),
		REGIONALTEAM(1727000, "区域项目团队"),
		RESOURCEPOOL(1727001, "工程及客服资源组"),
		PLANANDOPRATION(1727002, "运营、规划");
		
		private Integer index;
		private String name;
		
		private INTEGRAL_TYPE(Integer index, String name) {
			this.index = index;
			this.name = name;
		}
		public Integer getIndex() {
			return index;
		}
		public void setIndex(Integer index) {
			this.index = index;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
	}
	
	public enum INFORM_TYPE {
		FAILUREGZ(1739054,"故障单"),
		COMPLAINTS(1739055,"投诉单");
		private Integer index;
		private String name;
		private INFORM_TYPE(Integer index, String name) {
			this.index = index;
			this.name = name;
		}
		public Integer getIndex() {
			return index;
		}
		public void setIndex(Integer index) {
			this.index = index;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
	}
	
	public enum PRE_DEMAND_TYPE {
		COLLECTION(1768751, "采集"),
		SURVEY(1768752, "调研"),
		PLAN(1768753, "规划"),
		OUTPUT(1768754, "输出"),
		REVIEW(1768755, "评审");
		private Integer index;
		private String name;
		private PRE_DEMAND_TYPE(Integer index, String name) {
			this.index = index;
			this.name = name;
		}
		public Integer getIndex() {
			return index;
		}
		public void setIndex(Integer index) {
			this.index = index;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
	}
	
	public enum PRE_DEMAND_OPERATE {
		ADD(1768757, "增加"),
		UPDATE(1768758, "修改");
		private Integer index;
		private String name;
		private PRE_DEMAND_OPERATE(Integer index, String name) {
			this.index = index;
			this.name = name;
		}
		public Integer getIndex() {
			return index;
		}
		public void setIndex(Integer index) {
			this.index = index;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
	}
}